#!/bin/bash
qemu-system-riscv64 \
        -M virt \
        -m 256M \
        -kernel Image \
        -drive file=rootfs.ext4,format=raw,id=hd0 \
        -device virtio-blk-device,drive=hd0 \
        -nographic \
        -append "root=/dev/vda rw console=ttyS0"
